package com.alib.springcloud;


import com.netflix.hystrix.contrib.metrics.eventstream.HystrixMetricsStreamServlet;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletRegistrationBean;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
// 开启 Hystrix 的仪表盘，可以监控到某一个提供服务的具体消息： 服务降级、服务熔断、服务限流
@EnableHystrixDashboard
public class ConsumerHystrixDashBoardMain9001 {
    public static void main(String[] args) {
        SpringApplication.run(ConsumerHystrixDashBoardMain9001.class,args);
    }



}
